.hzdz-icon-list {
  display: inline-flex;
  flex-direction: column;
  width: var(--container-width, 64px);
  background: var(--background-color, rgba(0,0,0,0.5));
  border-radius: var(--border-radius, 8px);
  padding: var(--padding, 12px);
  box-sizing: border-box;
  position: relative;
  @media screen and (max-width: 1920px) {
    transform: scale(0.4862);
    transform-origin: top left;
  }
  @media screen and (max-width: 1080px) {
    transform: scale(0.2733);
    transform-origin: top left;
  }
  @media screen and (min-width: 5120px) {
    transform: scale(1.2955);
    transform-origin: top left;
  }
  &__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    //height: 100%;
    gap: var(--icon-gap, 12px);
    overflow-y: auto;
    overflow-x: hidden;

    // 自定义滚动条样式
    &::-webkit-scrollbar {
      width: 4px;
    }

    &::-webkit-scrollbar-track {
      background: rgba(255, 255, 255, 0.1);
      border-radius: 2px;
    }

    &::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.3);
      border-radius: 2px;

      &:hover {
        background: rgba(255, 255, 255, 0.5);
      }
    }
  }

  &__icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--icon-size, 40px);
    height: var(--icon-size, 40px);
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 6px;

    &:hover {
      background: rgba(255, 255, 255, 0.1);
      transform: scale(1.05);
    }

    &:active {
      transform: scale(0.95);
    }
  }

  &__icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: opacity 0.2s ease;

    &:hover {
      opacity: 0.8;
    }
  }

  // 整体容器悬停效果
  &:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.2s ease;
  }

  // 响应式处理
  @media (max-width: 768px) {
    width: calc(var(--container-width, 64px) * 0.8);
    //height: calc(var(--container-height, 1048px) * 0.8);

    .hzdz-icon-list__icon-wrapper {
      width: calc(var(--icon-size, 40px) * 0.8);
      height: calc(var(--icon-size, 40px) * 0.8);
    }
  }
}
